<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    const result=Object.fromEntries([
        ['name','尚硅谷'],
        ['xueke','java,前端']
    ])
    console.log(result)

    const m=new Map()

    const result=Object.fromEntries(m)
</script>
</body>
</html>
